package com.liu.lsm.livestock.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Livestock implements Serializable {

    private  Integer livestockId;
    private Date birthday;
    private  String gender;
    private  String describeInfo;
    private  Integer  baseId;

    public Livestock(Date birthday, String gender, String describeInfo, Integer baseId) {
        this.birthday = birthday;
        this.gender = gender;
        this.describeInfo = describeInfo;
        this.baseId = baseId;
    }
}